<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<div class="div1">div1</div>
		<div class="div2">div2</div>
		<div class="div3">div3</div>
		<div class="div4">div4</div>
	</body>
	<style>
		div{
			width: 100px;
			height: 100px;
		}
		.div1{
			background-color: red;
			/* float: left; */
		}
		.div2{
			background-color: green;
			float: left;
		}
		.div3{
			background-color: yellow;
			float: left;
		}
		.div4{
			background-color: purple;
			float: left;
		}
	</style>
</html>
